// pages/home/cpn/in-theaters/in-theaters.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    data:{
      type:Object,
      value:{}
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    handleViewMore(){
      console.log('查看更多')
      wx.navigateTo({
        url: `/pages/viewmore/viewmore?title=${this.properties.data.headerTitle}&path=${this.properties.data.path}`,
      })
    },
    handleScrollToLower(event){
      let option = {
        title: this.properties.data.headerTitle
      }
      this.triggerEvent('scrollToLower', option)
    }
  }
})
